package cn.highset.modules.base.service;

import cn.highset.base.HighsetBaseService;
import cn.highset.common.vo.SearchVo;
import cn.highset.modules.base.entity.Activity;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * 活动信息接口
 *
 * @author Victor
 */
public interface ActivityService extends HighsetBaseService<Activity, String> {

    /**
     * 多条件分页获取
     *
     * @param activity
     * @param searchVo
     * @param pageable
     * @return
     */
    Page<Activity> findByCondition(Activity activity, SearchVo searchVo, Pageable pageable);
}
